<!--
 * @Author: your name
 * @Date: 2021-12-22 08:54:44
 * @LastEditTime: 2021-12-24 09:17:44
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \shop\src\App.vue
-->
<template>
  <!-- 渲染组件 -->
  <router-view @toggle="IsShow"></router-view>

  <!-- 底部 -->
  <tab v-show="show"/>

</template>
<script>
  import tab from './components/common/tab.vue'
  export default {
    components:{tab},
    data(){
      return {
        show: true
      }
    },
    methods:{
      IsShow(value){
        this.show = value
      }
    }
  }
</script>